<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.45/vue.global.min.js"></script>
    <link rel="stylesheet" href="../04-3/css.css/css.css">
    <title>Document</title>
</head>
<body>
    <div class="work">
        <div class="title">个人信息</div>
        <div class="item">姓名:  <input type="text" v-model="name"></div>
        <div class="item">年龄:  <input type="text" v-model="age"></div>
        <div class="item">身高:  <input type="text" v-model="height"></div>
        <div class="bord">
            <div v-if="height>=180">兄弟呀，再有八块腹肌会更好!</div>
            <div v-else-if="height>=170 ">该用功读书了，不然没对象了!</div>
            <div v-else-if="height>=160">兄弟啊，咱身高一般，但智商高啊!</div>
            <div v-else-if="height>0">别理他们，咱浓缩的都是精华!</div>
            <div v-else class="none"></div>
        </div>


    </div>
    <script>
        const v={
            data(){
                return{
                    height:178,
                    name:"小明",
                    age:20
                }
            }
        }
        Vue.createApp(v).mount(".work")
    </script>
</body>
</html>